package com.javasea.log4j2.entity;

import javax.validation.constraints.NotBlank;

/**
 * 南航内部和南航外部 对接 通用api请求实体
 *
 * @author: 龙小南
 * @Date: 2023/2/20 17:09
 * @Version 1.0[当前版本号]
 *
 * @version 1.0 2023/2/20 17:09 龙小南 新建类[说明]
 */
public class ProviderQuery {

    /** 签名串 */
    @NotBlank(message = "签名信息不能为空")
    private String signMsg;

    /** 服务名称编码(如：结算中心、支付中心) */
    @NotBlank
    private String appName;

    /** 子模块名称(如：计费域、结算域) */
    private String modelName;

    /** 请求参数信息串，JSON格式 */
    private String msg;

    /** 编码格式,默认UTF-8 */
    private String charset = "utf-8";

    /** 请求时间yyyy-MM-dd HH:mm:ss */
    private String timestamp;

    public String getSignMsg() {
        return signMsg;
    }

    public void setSignMsg(String signMsg) {
        this.signMsg = signMsg;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}
